projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
763f0a3
)
gtk/gtkkineticscrolling.c: Include fallback-c89.c
author
Chun-wei Fan
<fanchunwei@src.gnome.org>
Fri, 6 Jun 2014 06:47:19 +0000
(14:47 +0800)
committer
Chun-wei Fan
<fanchunwei@src.gnome.org>
Fri, 6 Jun 2014 06:47:19 +0000
(14:47 +0800)
... as round() is being used, which is for C99 and later. fallback-c89.c
includes math.h as well.
gtk/gtkkineticscrolling.c
patch
|
blob
|
history
diff --git
a/gtk/gtkkineticscrolling.c
b/gtk/gtkkineticscrolling.c
index 62f05c45954a07a896dda68c9aeddf67fca69058..09619707ef5212a7b72e7b1f7b6fce1e8ce0b029 100644
(file)
--- a/
gtk/gtkkineticscrolling.c
+++ b/
gtk/gtkkineticscrolling.c
@@
-18,9
+18,10
@@
#include "config.h"
#include "gtkkineticscrolling.h"
-#include <math.h>
#include <stdio.h>
+#include "fallback-c89.c"
+
/*
* All our curves are second degree linear differential equations, and
* so they can always be written as linear combinations of 2 base